package ils.domain.ugc.model;

import java.util.List;
import java.util.Map;

public interface ReviewRepository
{
    public Review getReview(int reviewid);
    public Review getReviewUserBook(int userId, int bookId);
    public Review createReview(Review review);
    public List<Review> getReviewsForBook(int bookId, int firstResult, int maxResult);
    public List<Review> getReviewsForUser(int userId, int firstResult, int maxResult);
    public Map<Integer, Review> getReviewsForUserForGivenBooks(int userId, List<Integer> bookIds);
}
